package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.mbc.rmt.data.CashReturnDataList;
import com.mbc.rmt.entities.CashReturn;
import com.mbc.rmt.entities.CashReturnRpt;

public interface CashReturnDAO {

	public void create(CashReturn entity) throws SQLException;
	public void update(CashReturn entity) throws SQLException;
	public void delete(long key) throws SQLException;
	public CashReturn findByCode(String slipNo) throws SQLException;
	public CashReturn findById(long slipId) throws SQLException;
	public CashReturnDataList findCashReturnByCri(CashReturn cri) throws SQLException;
	ResultSet prepareCashReturnReport(CashReturnRpt entity)throws SQLException;
	public CashReturn getCashReturn (CashReturn entity) throws SQLException;
	
}
